package com.rybbaby.tss.front.tssStatistics.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * //@description  教师业绩统计
 * 
 * //@author 雷春琼
 * 
 * //@createDate 2017-08-10 上午12:25:24
 */
//@Entity
//@Table(name = "view_staff_statistics")
//@DynamicUpdate(true)
//@DynamicInsert(true)
public class ViewStaffStatistics implements Serializable {


	private static final long serialVersionUID = -4605223688578587006L;

	/** 主键 **/
	private String id;
	/** 教师名称 **/
	private String realName;
	/** 试听人数 **/
	private Long sumListen;
	/** 试听人数 **/
	//private Integer type;
	/** 授课节数 **/
	private Long teachingLessons;
	/** 授课时数 **/
	private BigDecimal teachingHours;
	/** 授课应出勤人数 **/
	private Long shouldAttend;
	/** 授课实出勤人数 **/
	private Long sumAttendance;
	/** 耗课时数 **/
	private BigDecimal consumptionHours;
	/** 耗课权责 **/
	private Double consumptionRightResponsibilitys;
	/** 出勤率  **/
	private String attendanceRate;

	/**

	 * 方法: 取得主键
	 *
	 * //@return java.lang.String 主键
	 */
	//@Id
	//@GeneratedValue(generator = "view_staff_statisticsIDGenerator" , strategy = GenerationType.AUTO)
	//@GenericGenerator(name = "view_staff_statisticsIDGenerator" , strategy = "uuid")
	//@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}

	/**
	 * 方法: 设置主键
	 *
	 * //@param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}

	//@Column(name = "realName", nullable= true, length = 12)
	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	//@Column(name = "sumListen", nullable= true, length = 12)
	public Long getSumListen() {
		return sumListen;
	}

	public void setSumListen(Long sumListen) {
		this.sumListen = sumListen;
	}

	//@Column(name = "type", nullable= true, length = 11)
	/*public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}*/

	//@Column(name = "teachingLessons", nullable= true, length = 12)
	public Long getTeachingLessons() {
		return teachingLessons;
	}

	public void setTeachingLessons(Long teachingLessons) {
		this.teachingLessons = teachingLessons;
	}

	//@Column(name = "teachingHours", nullable= true, length = 12)
	public BigDecimal getTeachingHours() {
		return teachingHours;
	}

	public void setTeachingHours(BigDecimal teachingHours) {
		this.teachingHours = teachingHours;
	}

	//@Column(name = "shouldAttend", nullable= true, length = 12)
	public Long getShouldAttend() {
		return shouldAttend;
	}

	public void setShouldAttend(Long shouldAttend) {
		this.shouldAttend = shouldAttend;
	}

	//@Column(name = "sumAttendance", nullable= true, length = 12)
	public Long getSumAttendance() {
		return sumAttendance;
	}

	public void setSumAttendance(Long sumAttendance) {
		this.sumAttendance = sumAttendance;
	}

	//@Column(name = "expendClassHour", nullable= true, length = 12)
	public BigDecimal getConsumptionHours() {
		return consumptionHours;
	}

	public void setConsumptionHours(BigDecimal consumptionHours) {
		this.consumptionHours = consumptionHours;
	}

	//@Column(name = "consumptionRightResponsibility", nullable= true, length = 12)
	public Double getConsumptionRightResponsibilitys() {
		return consumptionRightResponsibilitys;
	}

	public void setConsumptionRightResponsibilitys(Double consumptionRightResponsibilitys) {
		this.consumptionRightResponsibilitys = consumptionRightResponsibilitys;
	}

	//@Transient
	public String getAttendanceRate() {
		return attendanceRate;
	}

	public void setAttendanceRate(String attendanceRate) {
		this.attendanceRate = attendanceRate;
	}

}